home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12240 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: mdw050.cc.monash.edu.au!not-for-mail
  2. From: mdbie1@mdw050.cc.monash.edu.au (Mr Michael Bienstein)
  3. Newsgroups: comp.lang.c++
  4. Subject: Help with OLE VC++ v1.00 MFC 2.00
  5. Date: 19 Mar 1996 00:13:44 GMT
  6. Organization: Monash University
  7. Message-ID: <4iku7o$ada@harbinger.cc.monash.edu.au>
  8. NNTP-Posting-Host: mdw050.cc.monash.edu.au
  9. X-NNTP-Posting-User: mdbie1
  10. Summary: OLE Problems in VC++1.00, MFCV2.00
  11. Keywords: OLE, MFC, VC++
  12. X-Newsreader: TIN [UNIX 1.3 950823BETA PL0]
  13.  
  14.  
  15. HELP!!!
  16.  
  17. I'm writing a program in VC++ V1.00 and MFC v2.00.
  18. I'm almost finished and the only thing missing is
  19. OLE Metafile being done correctly.
  20.  
  21. The CF_METAFILE format calls the function correctly,
  22. the function draws the picture correctly but it doesn't
  23. get displayed in the client correctly.
  24.  
  25. In Word for Windows v6.00 either the left half or
  26. a picture with the whole client rectangle as a boundary gets
  27. displayed.  In Write, nothing gets displayed, in Works
  28. in works fine, in clipboard viewer it works fine etc.
  29. The actual picture is being drawn after making the centre
  30. of the picture the origin amongst other attribute changes.
  31.  
  32. Also It doesn't re-size, so dragging the bounding rectangle
  33. just changes what part of the picture is shown rather than
  34. the scale.
  35.  
  36. If anyone can help with this problem, explain what attribute
  37. functions I can call on a Metafile DC, how OnSetBounds works
  38. and all that sort of stuff, can you please contact me by e-mail
  39.  
  40.     mdbie1@mfs06.cc.monash.edu.au
  41.  
  42. Thank-you in advance,
  43.      Michael B.
  44.